<template>
	<view class="mx-user-menu-block">
		<text class="block-title">{{title}}</text>
		<view class="user-menus">
			<slot></slot>
		</view>
	</view>
</template>

<script>
	export default {
		name:"MxUserMenuBlock",
		props: {
			title: {
				type: String
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style scoped lang="scss">
	@import '@/common/scss/mixins.scss';
	@import '@/common/scss/var.scss';
.mx-user-menu-block{
	margin-top: 76rpx;
	font-family: $font-family;
	width: 100%;
	box-sizing: border-box;
	.block-title{
		font-size: 14px;
		font-weight: bold;
		margin-left: 32rpx;
	}
	
	.user-menus{
		box-sizing: border-box;
		margin-top: 14rpx;
		width: 100%;
		border-radius: 5px;
		background-color: #fff;
		padding: 60rpx 0;
	}
}
</style>
